<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            width: 100px;
            height: 1000px;
            background-color: black;
            animation: move 1ms infinite;
            -webkit-animation:move 0.5s infinite;
        }
        @keyframes move{
            0%{transform: translateX(0px);}
            50%{transform: translateX(1500px);}
            100%{transform: translateX(0px);}
        }
    </style>
</head>
<body>
<div>

</div>
</body>
</html> 